package jsfHello;

import org.junit.Test;
import static org.junit.Assert.assertEquals;

public class NameProcessorTest {

	@Test
	public void deveProcessarName() {
		String name = "maria";
		String nameP = NameProcessor.getInstace().doProcess(name).substring(0, 5);
		assertEquals("Maria", nameP);
	}
}
